@echo off 
echo "build upload client start"

pip install -r requirements.txt

cd curl_ftp_upload
call compile.bat

copy /y bin\*.dll ..\bin
copy /y bin\*.cfg ..\bin
copy /y bin\*.exe ..\bin
cd ..

cd pd_upload
pyinstaller -F pd_upload.py  --noconsole --distpath ..\bin
copy /y pd_upload.cfg ..\bin
rd /s /q ..\bin\pd_upload
cd ..

echo "build upload client end"